package com.itcast.n3_类的加载器;

import jdk.nashorn.internal.runtime.ScriptEnvironment;

/**
 * @program: jvm
 * @description:
 * @author: flyduck
 * @create: 2024-09-03 13:32
 **/
public class Test04_证明ext下面jar包的类是由ExtensionApplication加载的 {
    public static void main(String[] args) {
        ClassLoader classLoader = ScriptEnvironment.class.getClassLoader();
        System.out.println("classLoader = " + classLoader);//sun.misc.Launcher$ExtClassLoader@6a38e57f
    }
}
